package org.rainbowinverted.charging.common.core;

/**
 * 时间验证实用程序
 *
 * @author huaiping
 */
public class TimeValidationUtils {
    /**
     * 时间到23:59:59
     */
    public final static int ONE_DAY_TIME_OF_SECOND = 86400 - 1;

    /**
     * 是否等于一天秒值
     *
     * @param compareValue 比较值
     * @return boolean
     */
    public static boolean equalsSecondOfDay(int compareValue) {
        return ONE_DAY_TIME_OF_SECOND == compareValue;
    }

    private TimeValidationUtils() {}
}
